﻿@model Forest.Cat.Admin.Models.Resumes.EducationModel
@{
    ViewBag.Title = "教育程度";
    Layout = "~/Administration/Views/Shared/_JobseekerRoot.cshtml";
}
@using (Html.BeginForm("EducationEdit", "Resume", FormMethod.Post))
{
    <div class="Work_experience">
        <div class="Work_experience_title">
            @ViewBag.Title</div>
        <div class="Work_experience_box">
            <ul>
                <li>
                    <p>
                        学历水平</p>
                    @Html.DropDownListFor(
                            x => x.EducationLevel,
                           (SelectList)ViewBag.EducationLevels,
                           "请选择:",
                            new { @class = "long_select" })
                </li>
                <li>
                    <p>
                        学校名称</p>
                    @Html.TextBoxFor(x => x.SchoolName, new { @class = "long_input" })
                    @Html.CheckBoxFor(x => x.IsAbroad)海外
                    <p>
                    </p>
                    @Html.ValidationMessageFor(x => x.SchoolName)</li>
                <li>
                    <p>
                        专业</p>
                    @Html.DropDownListFor(
                            x => x.Major1,
                            (SelectList)ViewBag.Majors,
                            "请选择:",
                            new { @class = "long_select" })
                </li>
                <li>
                    <p>
                        其他专业(可选)</p>
                    @Html.TextBoxFor(x => x.OtherMajor, new { @class = "long_input" })
                    <span>没有合适专业可选时填写</span> </li>
                <li>
                    <p>
                        在校时间</p>
                    年：
                    @Html.TextBoxFor(x => x.StartYear, new { @class = "short_input" })
                    月：
                    @Html.DropDownListFor(
                             x => x.StartMonth,
                            (SelectList)ViewBag.ListMonthStart,
                            "月:",
                            new { @class = "short_select" })
                    到
                    @Html.ValidationMessage("RequiredError")
                    @Html.ValidationMessage("StartDataError")
                    <br />
                    年：
                    @Html.TextBoxFor(x => x.EndYear, new { @class = "short_input" })
                    月：
                    @Html.DropDownListFor(
                             x => x.EndMonth,
                            (SelectList)ViewBag.ListMonthStart,
                             "月:",
                     new { @class = "short_select" })
                    @Html.ValidationMessage("EndDataError")
                    <span>不填写表示您当前仍在学</span> </li>
                <li>
                    <p>
                        学习情况(可选)</p>
                    @Html.TextAreaFor(x => x.Notes, new { @class = "long_textarea" })
                    @Html.ValidationMessageFor(x => x.Notes)
                </li>
                <div class="workEdit_btns">
                    @Html.HiddenFor(x => x.Id)
                    @Html.HiddenFor(x => x.ResumeId)
                    @Html.HiddenFor(x => x.ReturnUrl)
                    <input type="image" src="../../../Administration/Content/images/icons-save-64-19.png" />或
                    <a href="@Model.ReturnUrl">取消</a></div>
            </ul>
        </div>
    </div>
}